file to binary php

50

file to binary php -

$data = fopen ($image, 'rb');
$size=filesize ($image);
$contents= fread ($data, $size);
fclose ($data);

Comments

Submit
0 Comments